package com.songlanyun.modules.publicbenefitmsg.model.to;

import com.songlanyun.common.drive.ValueObject;
import com.songlanyun.common.enums.DonationConstant;
import com.songlanyun.modules.publicbenefitmsg.model.IPublicBenefitMsgBody;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 消息体
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class PublicBenefitMsgTO implements ValueObject {

    /**
     * 消息类型
     */
    private DonationConstant.MsgType type;

    /**
     * 操作类型
     */
    private Integer modelType;

    /**
     * 捐赠ID
     */
    private Long modelId;

    private Long userId;

    private Object msgBody;

    private String content;

}
